﻿using UnityEngine;
using System.Collections;
using UnityEditor;

public class CreateAB : MonoBehaviour {
    [MenuItem("MS/MakeAB")]
    public static void Make()
    {
        Caching.CleanCache();
        string path = Application.dataPath + "/Resources";
        BuildPipeline.BuildAssetBundles(path);
        AssetDatabase.Refresh();
    }
}
